<!--{include(pe_tpl('header.html'));}-->
<div class="huiyuan_content">
	<!--{include(pe_tpl('user_menu.html'));}-->
	<div class="fr huiyuan_main">
		<div class="hy_tt"><a href="javascript:;" class="sel">{$menutitle}</a></div>
		<div class="hy_table">
		<form method="post" id="form">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td style="text-align:right;" width="150">收&nbsp;&nbsp;货 人：</td>
			<td>
				<input type="text" name="user_tname" value="{$info['user_tname']}" class="inputall input200" />
				<span id="user_tname_show"></span>			
			</td>
		</tr>
		<tr>
			<td style="text-align:right;">手机号码：</td>
			<td>
				<input type="text" name="user_phone" value="{$info['user_phone']}" class="inputall input200" />
				<span id="user_phone_show"></span>
			</td>
		</tr>
		<tr>
			<td style="text-align:right;">所在城市：</td>
			<td id="cityselect">
				<select name="address_province" class="js_prov inputselect"></select>
				<select name="address_city" class="js_city inputselect"></select>
				<select name="address_area" class="js_area inputselect"></select>
				<span id="address_province_show"></span>
				<span id="address_city_show"></span>
				<span id="address_area_show"></span>			
			</td>
		</tr>
		<tr>
			<td style="text-align:right;">详细地址：</td>
			<td>
				<input type="text" name="address_text" value="{$info['address_text']}" class="inputall input400" />
				<span id="address_text_show"></span>
			</td>
		</tr>
		<tr>
			<td style="text-align:right;"></td>
			<td>
				<label for="default">
					<input type="checkbox" name="address_default" value="1" <!--{if($info['address_default']):}-->checked="checked"<!--{endif;}--> class="inputfix mar5" id="default" />
					<span>设为默认收货地址</span>
				</label>
			</td>
		</tr>
		<tr>
			<td></td>
			<td>
				<input type="hidden" name="pe_token" value="{$pe_token}" />
				<input type="hidden" name="pesubmit" />	
				<input type="button" value="提 交"  class="tjbtn" />
			</td>
		</tr>
		</table>
		</form>
		</div>
	</div>
	<div class="clear"></div>
</div>
<script type="text/javascript" src="{$pe['host_root']}include/js/formcheck.js"></script>
<script type="text/javascript" src="{$pe['host_root']}include/js/shengshi.js"></script>
<script type="text/javascript">
$(function(){
	$("#cityselect").shengshi({
	    prov:"{$info['address_province']}",
	    city:"{$info['address_city']}",
	    area:"{$info['address_area']}"
	});
})
var form_info = [
	{"name":"address_province", "mod":"str", "act":"change", "arg":"", "show_id":"address_province_show","show_error":"省份必选"},
	{"name":"address_city", "mod":"str", "act":"change", "arg":"", "show_id":"address_city_show","show_error":"城市必选"},
	{"name":"address_area", "mod":"str", "act":"change", "arg":"", "show_id":"address_area_show","show_error":"区县必选"},
	{"name":"address_text", "mod":"str", "act":"blur", "arg":"", "show_id":"address_text_show","show_error":"必填"},
	{"name":"user_tname", "mod":"str", "act":"blur", "arg":"", "show_id":"user_tname_show","show_error":"必填"},
	{"name":"user_phone", "mod":"match", "act":"blur", "arg":"phone", "show_id":"user_phone_show","show_error":"格式有误"}
]
$(":button").pe_submit(form_info, 'form');
</script>
<!--{include(pe_tpl('footer.html'));}-->